package cn.evolution.retryutils.annotations;

import java.lang.annotation.*;

/**
 * @author evolution
 * @title: LocalRetryable
 * @projectName retry-utils
 * @description: TODO
 * @date 2022-11-16 11:57
 */
@Documented
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface LocalRetryable {
    
    //重试队列名称
    String retryQueueName();
    
    //固定重试的延迟时间
    long retryOnFixedDelay() default  3000;
    
}
